﻿using System.Collections.Generic;

namespace Jimmy.NinjiectDemo.Service
{
    public interface IUserService
    {
        /// <summary>
        /// 检查用户名及登录密码
        /// </summary>
        /// <param name="userName"></param>
        /// <param name="password"></param>
        /// <returns></returns>
        bool Login(string userName, string password);

        /// <summary>
        /// 取用户集合
        /// </summary>
        /// <returns></returns>
        List<string> List();
    }
}